<p id="notice"><%= notice %></p>
<br/><br/><br/>
<%if @email != nil%>
<p>
  <b>Sender:</b>
  <%= @email.sender_id %>
</p>

<p>
  <b>Receiver:</b>
  <%= @email.receiver_id %>
</p>

<p>
  <b>Content:</b>
  <%= @email.content %>
</p>

<p>
  <b>Time email:</b>
  <%= @email.time_email %>
</p>

<p>
  <b>Type:</b>
  <%= @email.type %>
</p>


<%= link_to 'Edit', edit_email_path(@email) %> 
<%end%>
|
<%= link_to 'Back', emails_path %>
